package com.graduation.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.graduation.common.annotation.Excel;
import com.graduation.common.core.domain.BaseEntity;

/**
 * 导师管理对象 tb_user
 * 
 * @author ruoyi
 * @date 2024-11-12
 */
public class TbUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private String userCode;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String userPwd;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userMobile;

    /** 角色id */
    private Long roleId;

    /** 角色编号 */
    private String roleCode;

    /** 角色名称 */
    @Excel(name = "角色名称")
    private String roleName;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userAvatar;

    /** 导师id */
    private Long tchId;

    /** 导师姓名 */
    @Excel(name = "导师姓名")
    private String tchName;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long status;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserCode(String userCode) 
    {
        this.userCode = userCode;
    }

    public String getUserCode() 
    {
        return userCode;
    }
    public void setUserPwd(String userPwd) 
    {
        this.userPwd = userPwd;
    }

    public String getUserPwd() 
    {
        return userPwd;
    }
    public void setUserMobile(String userMobile) 
    {
        this.userMobile = userMobile;
    }

    public String getUserMobile() 
    {
        return userMobile;
    }
    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }
    public void setRoleCode(String roleCode) 
    {
        this.roleCode = roleCode;
    }

    public String getRoleCode() 
    {
        return roleCode;
    }
    public void setRoleName(String roleName) 
    {
        this.roleName = roleName;
    }

    public String getRoleName() 
    {
        return roleName;
    }
    public void setUserAvatar(String userAvatar) 
    {
        this.userAvatar = userAvatar;
    }

    public String getUserAvatar() 
    {
        return userAvatar;
    }
    public void setTchId(Long tchId) 
    {
        this.tchId = tchId;
    }

    public Long getTchId() 
    {
        return tchId;
    }
    public void setTchName(String tchName) 
    {
        this.tchName = tchName;
    }

    public String getTchName() 
    {
        return tchName;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userCode", getUserCode())
            .append("userPwd", getUserPwd())
            .append("userMobile", getUserMobile())
            .append("roleId", getRoleId())
            .append("roleCode", getRoleCode())
            .append("roleName", getRoleName())
            .append("userAvatar", getUserAvatar())
            .append("tchId", getTchId())
            .append("tchName", getTchName())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("userName", getUserName())
            .toString();
    }
}
